Script: --on windowEvent wdID,wdName,objNo,objName,objValueツツif objValue="Open" then ツ hasedit wdid,wdnameツelse if objValue="Close" then ツ closewindow wdid,wdnameツelse if objValue="Suspend" then ツ suspendwindow wdid,wdnameツelse if objValue="Resume" then ツ hasedit wdid,wdnameツelse if objValue="CloseBox" then ツ ツelse if objValue="ZoomBox" then ツ ツelse if objValue="GrowBox" then ツ ツelse if objValue="TitleBar" then ツ ツend ifツツ--end windowEventツツツツ
Params: i0_nameツi1_textツi2_text
Result: i1_textツi2_text
ItemType: TEXT
Rect: 101,50,138,72
Visible: FALSE
Name: filename
LockText: FALSE
ItemType: TEXT
Rect: -1,-1,391,251
TextFont: Geneva
TextSize: 10
AutoSize: FALSE
GrowItem: TRUE
Name: TextField
LockText: FALSE
Scrolling: TRUE
Balloon: This is a text only document. You can type here.
Script: set changed_hilite of window wdname to true